package com.atguigu.gmall.search.pojo;

import lombok.Data;

import java.util.List;

@Data
public class SearchParamVo {

    //搜索关键字
    private String keyword;

    //品牌的过滤条件
    private List<Long> brandId;

    //分类id过滤条件
    private List<Long> categoryId;

    //规格参数的过滤条件
    private List<String> props;

    //排序条件:  0-综合排序 1-价格排序 2-价格升序 3-销量降序 4-新品降序
    private Integer sort = 0;

    //价格区间过滤
    private Double priceFrom;
    private Double priceTo;

    //是否有货过滤
    private Boolean store;

    //分页参数
    private Integer pageNum = 1;
    private final Integer pageSize = 20;
}
